package org.example.myleet.p621;

public class Main {
    public static void main(String[] args) {
        //case 1 8
        char[] input = new char[]{'A','A','A','B','B','B'};
        int n = 2;
        Solution solution = new Solution();
        int answer = solution.leastInterval(input, n);
        System.out.println(answer);
    }
}
